package org.example.petsystem.mapper;

import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface SearchMapper {
    //按照名称查询
    List<Map<String,Object>> searchByName(Map<String,Object>map);
    //按照种类进行搜索
    List<Map<String,Object>> searchByKind(Map<String,Object>map);
    //当传空值时，查询所有商品
    List<Map<String,Object>> search();
}
